<layout name="Public/base" />
<div class="row">
	<include file="Manage/left" />
	<div class="span9">
		<div class="page-main">
			<include file="Manage/appInfo" />
			<div class="title"><h2>{$mini_title}</h2></div>
			<div class="content">
				<form method="post" action="{:U('update?appid='.$_GET['appid'])}" class="horizontal">
					<div class="group">
						<label>关键词</label>
						<div class="controls">
							<input type="text" class="xlarge" name="keyword" value="{$info.keyword|default=''}" />
						</div>
					</div>
					<div class="group">
						<label>回复类型</label>
						<div class="controls">
							<select name="type">
								<option value="text">文本类型</option>
								<option value="image">图片类型</option>
								<option value="voice">语音类型</option>
								<option value="video">视频类型</option>
								<option value="music">音乐类型</option>
								<option value="news">图文类型</option>
							</select>
							<span>（目前只支持文本类型）</span>
						</div>
					</div>
					<div class="group">
						<label>回复内容</label>
						<div class="controls">
							<textarea name="content" class="xlarge">{$info.content}</textarea>
						</div>
					</div>
					<div class="group">
						<div class="controls">
							<input type="hidden" name="id" value="{$info.id|default=''}" />
							<input type="hidden" name="appid" value="{$Think.GET.appid}" />
							<button class="btn btn-large btn-success ajax-post" target-form="horizontal" type="submit">发送</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>